<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="w" tagdir="/WEB-INF/tags" %>
    
<div class="celleditor">	
	<input id="date_command" class="command" type="text" maxlength="10" readonly="readonly" />
	<input id="suggest_command" class="command" type="text" maxlength="50" />
	<input id="number_command" class="command" type="text" maxlength="14" />
	
		<input id="cardtype_command" class="command" readonly="readonly" />
		<div id="cardtype_select" class="command">
			<ol class="selectable">
				<li id="cardtype_0" class="seletee">선택없음</li>
				<li id="cardtype_1" class="seletee">신용카드</li>
				<li id="cardtype_2" class="seletee">체크카드</li>
			</ol>
		</div>
							
	<input id="cate_command" class="command" readonly="readonly" />
	

	<c:forEach items="${category}" var="catego" varStatus="s">
		<div id="cate_select_${s.index}" class="command cate_select">
			<ol class="selectable">									
				<c:forEach items="${catego}" var="cate">
					<c:if test="${cate.key % 10 == 0}">
						<li id="cate_${cate.key}" class="seletee">${cate.value}</li>
					</c:if>					
				</c:forEach>
			</ol>
		</div>

		<c:forEach items="${catego}" var="cate" varStatus="st">					
			<c:choose>
			<c:when test="${cate.key % 10 == 0}">
				<c:if test="${!st.first}">
					<c:out value='</ol></div>' escapeXml="false"/>
				</c:if>	
				<c:out value='<div id="cate_${cate.key}_sub" class="command subselect"><ol class="selectable">' escapeXml="false"/>	
			</c:when>
			<c:otherwise>
				<li id="cate_${cate.key}" class="selectee">${cate.value}</li>
			</c:otherwise>
			</c:choose>		
		</c:forEach>
		<c:out value='</ol></div>' escapeXml="false"/>
	</c:forEach>


</div>

<script type="text/javascript">cellEditorInit();</script>